<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>event</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
    <div id="root">
        <div>{{title}}</div>
        <!-- <button @click="()=>{title = 'h1'}">click</button> -->
        <div @Click.self="handleDivClick" :style="{width:'100px', height:'100px', background:'red'}">
            <button @click="handleClick(2,$event)">click</button>
            <a href="#" @click.prevent="()=>{title = 'aaa'}">anchor click</a>

            <input type="text" v-model='inputValue' @keyup.ctrl.67 = "clear">
            <button @click.ctrl = "onClick">aaaaa</button>
        </div>

    </div>
    <script src="./app.js"></script>
</body>
</html>